package com.penghaisoft.microwms.product.service;

import com.penghaisoft.microwms.common.data.model.ProSellOut;
import com.penghaisoft.microwms.common.dto.ProHandInDto;
import com.penghaisoft.microwms.common.dto.ProSellOutDto;
import com.penghaisoft.microwms.common.dto.Resp;
import com.penghaisoft.microwms.common.dto.TransResult;
import com.penghaisoft.microwms.common.page.Pager;

import java.util.List;

/**
 * <p>
 * 业务接口类
 * </p>
 * 
 * @author
 * @createDate 
 **/
public interface IProSellOutService {
	
	public Resp create(ProSellOut proSellOut);

	public Resp delete(ProSellOut proSellOut);
	
	public Pager<ProSellOut> findListByCondition(int page, int rows, ProSellOut condition);
	
	public ProSellOut findById(String id);
	
	public Resp update(ProSellOut proSellOut);
	
	public Resp updateByNo(ProSellOut proSellOut);

	public Resp insert(List<ProSellOut> list, String sellOutNo, String loginName);

	public Resp loadBill(ProSellOut proSellOut);

	public List<ProSellOut> queryListByAny(ProSellOut condition);
	
	public List<ProSellOut> queryListByStatus(ProSellOut condition);

	public TransResult sellOutScanBarcode(ProSellOutDto proSellOutDto);

	public TransResult sellOutComplete(ProSellOutDto proSellOutDto);

	public TransResult sellOutDelBarcode(ProSellOutDto proSellOutDto);
	
	public TransResult queryPrint(ProSellOut condition);

	public TransResult sellToHand(ProSellOut proSellOut);

}
